package com.atguigu.statistics;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/* 
 * @Title
 * @Description 统计分析模块
 * @Param
 * @return  
 * @Author Descent        
 * @Date 2022/10/26         
*/

@SpringBootApplication
@ComponentScan(basePackages = {"com.atguigu"})
//nacos注册
@EnableDiscoveryClient
//远程调用
@EnableFeignClients
//Mapper扫描
@MapperScan("com.atguigu.statistics.mapper")
//开启定时任务
@EnableScheduling
public class StatisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(StatisticsApplication.class,args);
    }


}
